package com.diamond.bo;

import java.io.Serializable;


public class SuppOrderDetailBO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5829327996570625213L;
	private Long suppOrdDetailId;
	private Long suppOrderMasterId;
	private String remark;
	private Integer amount;
	private String batch;
	private String name;
	private Double price;
	private String shape;
	private String fluor;
	private String HR;
	private String symmetry;
	private String lab;
	private String polish;
	private String finalCut;
	private String clarity;
	private String color;
	private Double weight;
	private String reportNo;
	private String supplierName;
	private String state;   //0:未处理,1:订购成功,2:订购失败
	private String stateName; 
	private String orderDate;
	public Long getSuppOrdDetailId() {
		return suppOrdDetailId;
	}
	public void setSuppOrdDetailId(Long suppOrdDetailId) {
		this.suppOrdDetailId = suppOrdDetailId;
	}
	public Long getSuppOrderMasterId() {
		return suppOrderMasterId;
	}
	public void setSuppOrderMasterId(Long suppOrderMasterId) {
		this.suppOrderMasterId = suppOrderMasterId;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	
	public String getBatch() {
		return batch;
	}
	public void setBatch(String batch) {
		this.batch = batch;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getShape() {
		return shape;
	}
	public void setShape(String shape) {
		this.shape = shape;
	}
	public String getFluor() {
		return fluor;
	}
	public void setFluor(String fluor) {
		this.fluor = fluor;
	}
	public String getHR() {
		return HR;
	}
	public void setHR(String hr) {
		HR = hr;
	}
	public String getSymmetry() {
		return symmetry;
	}
	public void setSymmetry(String symmetry) {
		this.symmetry = symmetry;
	}
	public String getLab() {
		return lab;
	}
	public void setLab(String lab) {
		this.lab = lab;
	}
	public String getPolish() {
		return polish;
	}
	public void setPolish(String polish) {
		this.polish = polish;
	}
	public String getFinalCut() {
		return finalCut;
	}
	public void setFinalCut(String finalCut) {
		this.finalCut = finalCut;
	}
	public String getClarity() {
		return clarity;
	}
	public void setClarity(String clarity) {
		this.clarity = clarity;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public Double getWeight() {
		return weight;
	}
	public void setWeight(Double weight) {
		this.weight = weight;
	}
	public String getReportNo() {
		return reportNo;
	}
	public void setReportNo(String reportNo) {
		this.reportNo = reportNo;
	}
	public String getSupplierName() {
		return supplierName;
	}
	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}
	public String getStateName() {
		if ("0".equals(this.getState())) {
			this.setStateName("未处理");
		} else if ("1".equals(this.getState())) {
			this.setStateName("订购成功");
		} else if ("2".equals(this.getState())) {
			this.setStateName("订购失败");
		}
		return stateName;
	}
	public void setStateName(String stateName) {
		this.stateName = stateName;
	}
}
